/**
 * @description: 请求结果集
 */
export const ResultEnum = {
  SUCCESS200: 200,
  SUCCESS0: 0,
  ERROR: -1,
  ERROR400: 400,
  ERROR401: 401,
  ERROR404: 404,
  ERROR500: 500,
};

/**
 * @description: 请求方法
 */
export const RequestEnum = {
  GET: "GET",
  POST: "POST",
  PATCH: "PATCH",
  PUT: "PUT",
  DELETE: "DELETE",
};

/**
 * @description:  常用的contentTyp类型
 */
export const ContentTypeEnum = {
  // json
  JSON: "application/json;charset=UTF-8",
  // json
  TEXT: "text/plain;charset=UTF-8",
  // form-data 一般配合qs
  FORM_URLENCODED: "application/x-www-form-urlencoded;charset=UTF-8",
  // form-data  上传
  FORM_DATA: "multipart/form-data;charset=UTF-8",
};
